using NUnit.Framework;

namespace Solver
{
	/// <summary>
	/// What is the millionth lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9?
	/// </summary>
	public class Problem024 : SelfChecker, IProblem
	{
		public int Id
		{
			get { return 24; }
		}

		public string Solve()
		{
			return "2783915460";
		}

		[Test]
		public override void Check()
		{
			Assert.AreEqual("2783915460", Solve());
		}
	}
}